<nav class="topcontrol navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="<?php echo Yii::app()->createUrl('home/index', array())?>"><span class="fa fa-bank" style="font-size: 24px;"></span> DD Bank</a>
            
            </div>
            <!-- /.navbar-header -->
            <ul class="nav navbar-nav navbar-top-links navbar-right">
                
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                        <i class="fa fa-user fa-fw"></i>  
                        
                        <i class="fa fa-caret-down"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-user">
                        <li>
                            <a href="<?php echo Yii::app()->createUrl('login/logout') ?>"><i class="fa fa-power-off fa-fw"></i> Wyloguj</a>
                        </li>
                        <li class="divider"></li>
                    </ul>
                    <!-- /.dropdown-messages -->
                </li>
                <!-- /.dropdown -->
            </ul>
            <!-- /.navbar-top-links -->

            <div class=" sidebar" role="navigation">
                <h2 style="text-align: center; margin: 10px;"><?php echo $pageTitle;?></h2>
                <?php echo $this->renderPartial('//components/navigation'); ?>
                <!-- /.sidebar-collapse -->
            </div>
            <!-- /.navbar-static-side -->
        </nav>